//
//  ProgressHUDManage.h
//  EduOnLine
//
//  Created by Mac on 2019/11/14.
//  Copyright © 2019 eduonline. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ProgressHUDManage : NSObject
@property (nonatomic, assign) BOOL showErrorTips;//有些页面不给弹错误提示(如循环读取pack数量页面)
@property (nonatomic, assign) BOOL showLoadingTips; // 控制蓝牙监控循环读取曲线数据时的loading显示
+ (instancetype)shareObject;


/**显示成功提示到window*/
+ (void)showSuccess:(NSString *)success;
/**显示失败提示到window*/
+ (void)showError:(NSString *)error;
/**显示info提示到指定的window*/
+ (void)showInfo:(NSString *)info;
/**显示文本提示到指定的window*/
+ (void)showText:(NSString *)text;
/**显示正在加载(菊花样式)提示到window*/
+ (void)showLoading:(NSString *)text;

+ (void)hideTips;
@end

NS_ASSUME_NONNULL_END
